package pack0619;

public class Demo_3 {
    public static void main(String[] args){
        int i=0,sum=0;
        while (i<100){
            i=i+1;sum+=i;
        }
        System.out.println("1+2+3....+100="+sum);
    }
}
